@mixin dingwei() {
  /* 定义flex容器 */
  display: flex;
  /*设置容器内部容器的排列方向*/
  flex-direction: row;
}

@mixin danhang1() {
  /* 单行...*/
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@mixin shuanghang2() {
  /* 两行...*/
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

page {
  background-color: #f6f6f6;
}

.content {
  padding: 24rpx;
}

.layout {
  .brands {
    margin-bottom: 24rpx;
  }

  .Contentlayout {
    width: 702rpx;
    /* height: 414rpx; */
    background: #ffffff;
    box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.14);
    border-radius: 10rpx;
    padding: 24rpx;
    margin-bottom: 10rpx;
    @include dingwei;

    .conlanum {
      width: 32rpx;
      height: 32rpx;
      background: #fbd220;
      border-radius: 50%;

      font-size: 24rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #333333;
      text-align: center;
      line-height: 32rpx;
      margin-top: 6rpx;
    }

    .conbox {
      margin-left: 18rpx;

      .conl1 {
        @include dingwei;

        .jqyou {
          font-size: 32rpx;
          font-weight: 500;
          color: #333333;
          width: 400rpx;
          @include danhang1;
        }
      }

      .context {
        margin-top: 16rpx;
        @include dingwei;

        .contitle {
          font-size: 24rpx;
          font-weight: 500;
          color: #999999;
          width: 78rpx;
        }

        .connr {
          font-size: 24rpx;
          font-weight: 500;
          color: #333333;
          width: 530rpx;
          @include danhang1;

          .boadr {
            padding: 16rpx 25rpx;
            width: 471rpx;
            height: 68rpx;
            background: #f4f4f4;
            border-radius: 10rpx;
            font-size: 24rpx;
            font-weight: 500;
            color: #333;
          }
        }

        .conimgbox {
          @include dingwei;

          .comimg {
            text-align: center;
            line-height: 90rpx;
            width: 90rpx;
            height: 90rpx;
            background: #f4f4f4;
            border-radius: 10rpx;
          }

          .comtup {
            margin-left: 10rpx;
            border-radius: 10rpx;

            .coimgs {
              image {
                width: 90rpx;
                height: 90rpx;
              }
            }

            /* 长按显示删除 */
            .comdelete {
              width: 90rpx;
              height: 90rpx;
              background: #000000;
              opacity: 0.5;
              border-radius: 10rpx;
              text-align: right;
              position: absolute;
              z-index: 99;
              padding: 12rpx;

              image {
                width: 30rpx;
                height: 30rpx;
                z-index: 999;
              }
            }
          }
        }
      }
    }
  }

  /* 添加配件 */
  .Addaccessories {
    width: 702rpx;
    height: 100rpx;
    background: #ffffff;
    box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.14);
    border-radius: 10rpx;
    padding: 27rpx 0rpx;
    text-align: center;
    margin-bottom: 25rpx;
    @include dingwei;

    .addimgs {
      margin-left: 250rpx;

      image {
        width: 45rpx;
        height: 45rpx;
      }
    }

    .xinjian {
      margin-left: 30rpx;
      font-size: 32rpx;
      font-family: PingFang SC;
      font-weight: bold;
      color: #343434;
    }
  }

  /* 品质 */
  .qualitybox {
    width: 702rpx;
    height: 438rpx;
    background: #ffffff;
    box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.14);
    border-radius: 10rpx;
    font-size: 29rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #343434;
    padding: 2rpx 20rpx;

    /* 品质 */
    .quality {
      border-bottom: 1px solid #eeeeee;
      padding-bottom: 30rpx;
      margin-top: 30rpx;
      @include dingwei;

      .quaname {
        width: 70rpx;
        margin-top: 5rpx;
      }

      .quboxs {
        @include dingwei;

        .xuanzhong {
          margin-left: 16rpx;
          width: 103rpx;
          height: 50rpx;
          background: #eeeeee;
          border-radius: 5rpx;
          text-align: center;
          line-height: 50rpx;
          font-size: 26rpx;
        }

        .weuixuan {
          background: #fbd220;
          margin-left: 16rpx;
          width: 103rpx;
          height: 50rpx;
          border-radius: 5rpx;
          text-align: center;
          line-height: 50rpx;
          font-size: 26rpx;
        }
      }
    }
  }

  /* 发票 */
  .invoice {
    margin-top: 30rpx;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 24rpx;
    @include dingwei;

    .fapiao {
    }

    .invfapao {
      @include dingwei;

      .infuxuf {
        margin-left: 88rpx;
        font-size: 26rpx;
        @include dingwei;

        .invimg {
          image {
            width: 40rpx;
            height: 40rpx;
          }
        }

        .invname {
          margin-left: 15rpx;
          margin-top: 3rpx;
          width: 100rpx;
        }
      }
    }

    /* 收货地址 */
    .address {
      margin-left: 25rpx;
      flex: 1;

      .addname {
        font-size: 29rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #343434;
        @include dingwei;

        .ximgm {
          width: 160rpx;
          @include danhang1;
        }

        .mobile {
          width: 230rpx;
          @include danhang1;
        }
      }

      .addressobx {
        width: 470rpx;
        @include danhang1;
        font-size: 24rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #9a9a9a;
      }

      .pt-5 {
        padding-top: 5rpx;
      }
    }

    .Validperiod {
      @include dingwei;

      .timecss {
        width: 530rpx;
        text-align: right;
      }

      .jianjina {
        margin-left: 20rpx;
        margin-top: 0rpx;
      }
    }

    .jiantou {
      margin-left: 20rpx;
      width: 30rpx;
    }
  }
}

.hgzbox {
  font-family: PingFang SC;
  font-weight: 500;
  text-align: center;

  .imgtexts {
    font-size: 30rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(102, 102, 102, 1);
    line-height: 96rpx;
    border-bottom: 1px solid #eeeeee;
  }

  .hgxz {
    line-height: 120rpx;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
  }
}

.quedingbtn {
  background-color: #ffffff;
  width: 750rpx;
  height: 140rpx;
  position: fixed;
  bottom: 0;
  padding: 28rpx 0rpx;
  margin-left: -24rpx;

  button {
    width: 702rpx;
    height: 88rpx;
    background: linear-gradient(
      -90deg,
      rgba(251, 210, 32, 1),
      rgba(255, 226, 62, 1)
    );
    border-radius: 44rpx;
    font-size: 32rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    line-height: 88rpx;
  }

  .quxboxs {
    @include dingwei;
    margin-left: 24rpx;

    .quxiaoxj {
      width: 50%;
      height: 88rpx;
      background: #343434;
      border-radius: 44rpx 0px 0px 44rpx;

      font-size: 32rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #fbd220;
      line-height: 88rpx;
      text-align: center;
    }

    .wancheng {
      width: 50%;
      height: 88rpx;
      background: linear-gradient(-90deg, #fbd220, #ffe23e);
      border-radius: 0px 44rpx 44rpx 0px;

      font-size: 32rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #343434;
      line-height: 88rpx;
      text-align: center;
    }
  }
}

.slot-content {
  text-align: center;
  margin-top: 48rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(102, 102, 102, 1);
  margin-bottom: 60rpx;
}
.woxiangxbox {
  width: 440rpx;
  @include dingwei;
  margin: 0 auto;
}

.slot-contentbutto2 {
  text-align: center;
  width: 220rpx;
  height: 78rpx;
  background: #1b1b1b;
  border-radius: 39rpx 0rpx 0rpx 39rpx;
  line-height: 78rpx;
  margin-bottom: 59rpx;
  font-size: 30rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffe23e;
}

.slot-contentbutto {
  text-align: center;
  width: 220rpx;
  height: 78rpx;
  background: linear-gradient(
    -90deg,
    rgba(251, 210, 32, 1),
    rgba(255, 226, 62, 1)
  );
  border-radius: 0rpx 39rpx 39rpx 0rpx;
  line-height: 78rpx;
  margin-bottom: 59rpx;
  font-size: 32rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

/deep/ uni-button:after {
  border: none;
}
